package com.his.his_system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 批次库存表
 * @TableName dzm_his_batches_of_inventory
 */
@TableName(value ="dzm_his_batches_of_inventory")
public class DzmHisBatchesOfInventory implements Serializable {
    /**
     * 批次库存ID
     */
    @TableId(type = IdType.AUTO)
    private Integer batchesOfInventoryId;

    /**
     * 诊所ID
     */
    private Integer companyId;

    /**
     * 供应商ID
     */
    private Integer supplierId;

    /**
     * 供应商
     */
    @TableField(exist = false)
    private String supplierName;


    /**
     * 采购单编号
     */
    private Long batchesOfInventoryNumber;

    /**
     * 采购员ID
     */
    private String purchasingAgentId;

    /**
     * 采购总金额
     */
    private BigDecimal batchesOfInventoryTotalMoney;

    /**
     * 制单日期
     */
    private Long batchesOfInventoryDate;

    /**
     * 审核标记；未审核：1，已审核：2
     */
    private Integer batchesOfInventoryStatus;

    /**
     * 审核人员ID
     */
    private String batchesOfInventoryVerifier;





    /**
     * 审核日期
     */
    private Long batchesOfInventoryVerifierDate;



    public String getSupplierName() {
        return supplierName;
    }

    public void setSupplierName(String supplierName) {
        this.supplierName = supplierName;
    }

    /**
     * 创建时间
     */
    private Long createTime;

    /**
     * 更新时间
     */
    private Long updateTime;
    @TableField(exist = false)
    private String purchaseName;
    @TableField(exist = false)
    private String verifierName;

    public String getPurchaseName() {
        return purchaseName;
    }

    public void setPurchaseName(String purchaseName) {
        this.purchaseName = purchaseName;
    }

    public String getVerifierName() {
        return verifierName;
    }

    public void setVerifierName(String verifierName) {
        this.verifierName = verifierName;
    }

    private static final long serialVersionUID = 1L;



    public DzmHisBatchesOfInventory() {

    }

    public Integer getBatchesOfInventoryId() {
        return batchesOfInventoryId;
    }

    public void setBatchesOfInventoryId(Integer batchesOfInventoryId) {
        this.batchesOfInventoryId = batchesOfInventoryId;
    }

    public Integer getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Integer companyId) {
        this.companyId = companyId;
    }

    public Integer getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(Integer supplierId) {
        this.supplierId = supplierId;
    }

    public Long getBatchesOfInventoryNumber() {
        return batchesOfInventoryNumber;
    }

    public void setBatchesOfInventoryNumber(Long batchesOfInventoryNumber) {
        this.batchesOfInventoryNumber = batchesOfInventoryNumber;
    }

    public String getPurchasingAgentId() {
        return purchasingAgentId;
    }

    public void setPurchasingAgentId(String purchasingAgentId) {
        this.purchasingAgentId = purchasingAgentId;
    }

    public BigDecimal getBatchesOfInventoryTotalMoney() {
        return batchesOfInventoryTotalMoney;
    }

    public void setBatchesOfInventoryTotalMoney(BigDecimal batchesOfInventoryTotalMoney) {
        this.batchesOfInventoryTotalMoney = batchesOfInventoryTotalMoney;
    }

    public Long getBatchesOfInventoryDate() {
        return batchesOfInventoryDate;
    }

    public void setBatchesOfInventoryDate(Long batchesOfInventoryDate) {
        this.batchesOfInventoryDate = batchesOfInventoryDate;
    }

    public Integer getBatchesOfInventoryStatus() {
        return batchesOfInventoryStatus;
    }

    public void setBatchesOfInventoryStatus(Integer batchesOfInventoryStatus) {
        this.batchesOfInventoryStatus = batchesOfInventoryStatus;
    }

    public String getBatchesOfInventoryVerifier() {
        return batchesOfInventoryVerifier;
    }

    public void setBatchesOfInventoryVerifier(String batchesOfInventoryVerifier) {
        this.batchesOfInventoryVerifier = batchesOfInventoryVerifier;
    }

    public Long getBatchesOfInventoryVerifierDate() {
        return batchesOfInventoryVerifierDate;
    }

    public void setBatchesOfInventoryVerifierDate(Long batchesOfInventoryVerifierDate) {
        this.batchesOfInventoryVerifierDate = batchesOfInventoryVerifierDate;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    public Long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", batchesOfInventoryId=").append(batchesOfInventoryId);
        sb.append(", companyId=").append(companyId);
        sb.append(", supplierId=").append(supplierId);
        sb.append(", batchesOfInventoryNumber=").append(batchesOfInventoryNumber);
        sb.append(", purchasingAgentId=").append(purchasingAgentId);
        sb.append(", batchesOfInventoryTotalMoney=").append(batchesOfInventoryTotalMoney);
        sb.append(", batchesOfInventoryDate=").append(batchesOfInventoryDate);
        sb.append(", batchesOfInventoryStatus=").append(batchesOfInventoryStatus);
        sb.append(", batchesOfInventoryVerifier=").append(batchesOfInventoryVerifier);
        sb.append(", batchesOfInventoryVerifierDate=").append(batchesOfInventoryVerifierDate);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}